package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallAccountModel = (*customMallAccountModel)(nil)

type (
	// MallAccountModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallAccountModel.
	MallAccountModel interface {
		mallAccountModel
	}

	customMallAccountModel struct {
		*defaultMallAccountModel
	}
)

// NewMallAccountModel returns a model for the database table.
func NewMallAccountModel(conn sqlx.SqlConn) MallAccountModel {
	return &customMallAccountModel{
		defaultMallAccountModel: newMallAccountModel(conn),
	}
}
